package com.zhcd.sys.service.impl;

import com.zhcd.sys.pojo.Charge;
import com.zhcd.sys.mapper.ChargeMapper;
import com.zhcd.sys.service.ChargeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author feifei
 * @since 2021-11-29
 */
@Service
public class ChargeServiceImpl extends ServiceImpl<ChargeMapper, Charge> implements ChargeService {
    @Autowired
    private ChargeMapper chargeMapper;

    //查询全部收费明细
    @Override
    public List<Charge> getAll_Charge() {
        return chargeMapper.selectList(null);
    }
}
